| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkGraphics::RasterStateManager Class Reference

Manages the raster states available in the component. More...

Inheritance diagram for nkGraphics::RasterStateManager:

## Public Member Functions
RasterState * | getDefaultState () const
Public Member Functions inherited from nkGraphics::Manager< RasterState >
RasterState * | createOrRetrieve (nkMemory::StringView name)
RasterState * | record (nkMemory::StringView name, nkMemory::UniquePtr< RasterState > resource)
RasterState * | get (nkMemory::StringView name) const
RasterState * | getByIndex (unsigned int index) const
void | rename (nkMemory::StringView currentName, nkMemory::StringView newName)
void | erase (nkMemory::StringView name)
nkMemory::UniquePtr< RasterState > | relinquish (nkMemory::StringView name)

## Detailed Description

Manages the raster states available in the component.

The manager owns the memory it allocates. External code should never free memory returned.

## Member Function Documentation

## ◆ getDefaultState()

RasterState* nkGraphics::RasterStateManager::getDefaultState | ( |  | ) | const

Returns
  The default state used during rendering if no overload within a pass is provided.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/RenderStates/RasterStateManager.h